package com.sz.common.base;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * Function: MockApplication <br>
 * Author: Charles <br>
 * Date: 2017-01-20 17:19:00
 */
@EnableTransactionManagement
@ServletComponentScan
@SpringBootApplication
@PropertySource(value = {"classpath:/mock-application.properties"})
@ComponentScan(basePackages={"com.sz"})
public class MockApplication {
    public static void main(String[] args) {
        SpringApplication.run(MockApplication.class, args);
    }
}
